package com.duo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class DishQueryDTO implements Serializable {

    @NotNull(message = "菜品id不能为空")
    private Long dishId;

    private String name;

    @NotNull(message = "分类分类id不能为空")
    private Long categoryId;


}
